<template>
  <div class="main">
    <div>首页</div>
    <div @click="postFeed()">发帖</div>
    <div>我的</div>
  </div>
</template>

<script>

export default {
  name: "BottomBar",
  data() {
    return {
    }
  }, methods: {
    postFeed(){
      this.$router.push("/topic/publish")
    }
  },
}
</script>

<style scoped>

.main {
  position: fixed;
  padding-left: 10px;
  padding-right: 10px;
  bottom: 0px;
  z-index: 1000;
  width: 100%;
  height: 6vh;
  font-weight: bold;
  font-family: "Tahoma";
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

</style>